<?php if(count($staffs)) { ?>
<ul class="menu-left">
    <?php foreach($staffs as $key => $list) {
	   echo "<li>" . anchor("staffprofile",$list['FirstName']." ".$list['LastName'])."</li>\n";
    }?>
</ul>
<?php } ?>